package com.yanfan.maintain.domain;

import com.yanfan.common.annotation.Excel;
import com.yanfan.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 control_reversal
 *
 * @author kerwincui
 * @date 2023-03-16
 */
public class ControlReversal extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 设备id
     */
    @Excel(name = "设备id")
    private Long deviceId;

    /**
     * 模型id
     */
    @Excel(name = "模型id")
    private Long formworkId;

    /**
     * 属性code
     */
    @Excel(name = "属性code")
    private String propertyCode;

    /**
     * 属性名称
     */
    @Excel(name = "属性名称")
    private String propertyName;

    /**
     * 类型code
     */
    @Excel(name = "类型code")
    private String paramCode;

    /**
     * 类型名称
     */
    @Excel(name = "类型名称")
    private String paramName;

    /**
     * 反控的值
     */
    @Excel(name = "反控的值")
    private String setValue;

    /**
     * 设备名称
     */
    @Excel(name = "设备名称")
    private String deviceName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    public Long getFormworkId() {
        return formworkId;
    }

    public void setFormworkId(Long formworkId) {
        this.formworkId = formworkId;
    }

    public String getPropertyCode() {
        return propertyCode;
    }

    public void setPropertyCode(String propertyCode) {
        this.propertyCode = propertyCode;
    }

    public String getPropertyName() {
        return propertyName;
    }

    public void setPropertyName(String propertyName) {
        this.propertyName = propertyName;
    }

    public String getParamCode() {
        return paramCode;
    }

    public void setParamCode(String paramCode) {
        this.paramCode = paramCode;
    }

    public String getParamName() {
        return paramName;
    }

    public void setParamName(String paramName) {
        this.paramName = paramName;
    }

    public String getSetValue() {
        return setValue;
    }

    public void setSetValue(String setValue) {
        this.setValue = setValue;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("deviceId", getDeviceId())
                .append("formworkId", getFormworkId())
                .append("propertyCode", getPropertyCode())
                .append("propertyName", getPropertyName())
                .append("paramCode", getParamCode())
                .append("paramName", getParamName())
                .append("setValue", getSetValue())
                .append("deviceName", getDeviceName())
                .toString();
    }
}
